package com.feeyin.radar.msg.dao;

import com.feeyin.radar.commons.Page;
import com.feeyin.radar.msg.model.Message;
import java.util.List;

public abstract interface MessageDAO
{
  public abstract List getPageMessagesByDynamic(Message paramMessage, Page paramPage);

  public abstract Integer getPageMessagesCountByDynamic(Message paramMessage);

  public abstract Message getMessageById(Integer paramInteger);

  public abstract Message getMessageByMessageCode(String paramString);

  public abstract boolean insertMessage(Message paramMessage);

  public abstract boolean updateMessage(Message paramMessage);

  public abstract boolean updateMessageViewNum(Integer paramInteger1, Integer paramInteger2);

  public abstract boolean updateMessageCommentNum(Integer paramInteger1, Integer paramInteger2);

  public abstract boolean deleteMessage(Integer paramInteger);
}